package com.neuedu.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neuedu.bean.Employee;
import com.neuedu.bean.EmployeeExt;
import com.neuedu.bean.EmployeeSub;

public interface EmployeeMapper extends BaseMapper<Employee> {

//	List<EmployeeSub> getRegistDoctorList(@Param("deptmentId")String deptmentId,@Param("registLevelId")String registLevelId);
//	List<EmployeeSub> getRegistDoctorList(Employee con);
//	con.put("deptmentId",1)
//	con.put("registLevelId",2)
//	如果多个输入条件无法整合到一个实体类对象里，或用Param标记每个参数导致参数列表过长时，可以用map来封装多个输入条件
	List<EmployeeSub> getRegistDoctorList(Map<String, Object> con);
	List<Employee> getEmployeeByDeptid(String deptment_id);
//	登录方法
	EmployeeExt getEmployeeAndDeptByNamePass(String realName);

}
